package com.alan.study.annotation;

public class PasswordUtils {
	
	@UseCase(id = "47", description = "Passwords must contain at least one numeric", tt = "50")
	public boolean validatePassword(String password) {
		System.out.println("==============");
		return (password.matches("\\w*\\d\\w*"));
	}
	
	@UseCase(id = "48", tt = "00")
	public String encryptPassword(String password) {
		System.out.println("==88888888===");
		return new StringBuilder(password).reverse().toString();
	}
	
}
